{% extends "CmsBundle::base.html.twig" %}

{% block pageContent %}
    <!-- PAGE CONTENT BEGINS -->
        <form class="form-horizontal" role="form" action="{{ path("yearnfar_cms_groups_edit") }}" method="post">
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 名称： </label>
                <div class="col-sm-9">
                    <input type="hidden" name="gid" class="col-xs-10 col-sm-5" value="{{ current.id }}">
                    <input type="text" name="name" class="col-xs-10 col-sm-5" value="{{ current.name }}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 角色： </label>
                <div class="col-sm-9">
                    <input type="text" name="role" class="col-xs-10 col-sm-5" value="{{ current.role }}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 权限： </label>
                <div class="col-sm-9">
                    <input type="text" name="privilege" class="col-xs-10 col-sm-5" value="{{ current.privilege }}">
                </div>
            </div>
            <div class="clearfix form-actions">
                <div class="col-md-offset-3 col-md-9">
                    <button class="btn btn-info" type="submit" name="submit" value="1">
                        <i class="icon-ok bigger-110"></i>
                        提交
                    </button>

                    &nbsp; &nbsp; &nbsp;
                    <button class="btn" type="reset">
                        <i class="icon-undo bigger-110"></i>
                        重置
                    </button>
                </div>
            </div>
        </form>
    <!-- PAGE CONTENT ENDS -->
{% endblock %}